var $sbm={
	add:function(uri,title,obj){
		
		if(uri.match(/^chrome/) || uri.match(/^javascript/)){
			return false;
		}
		
		if(obj.tags.length != 0){
			var parmTag="&tag="
			for (var i = 0; i < obj.tags.length; ++i) {
				parmTag+=obj.tags[i]+' ';
			}
		}
		
		return "https://api.del.icio.us/v1/posts/add?url="+encodeURIComponent(uri)+"&description="+encodeURIComponent(title);
	},
	log: function(str) {
		Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService).logStringMessage(str);
	},
}